#!/bin/sh

opt -load ../../../Release/lib/basicabc.so -basicabc < test.bc.gold > a.bc
opt -load ../../../Release/lib/ABCD.so -eSSAPass < a.bc > b.bc
opt -load ../../../Release/lib/eSSA.so -mem2reg -eSSAPass2 < b.bc > c.bc
opt -load ../../../Release/lib/demandPass.so -instructionPass < c.bc > d.bc
